#!/bin/sh

here=$(realpath $(dirname $0))

. $here/../../script/system.conf

mkdir -p $here/apps && rm -rf $here/apps/*

for src in $(ls $here/src/*.c | xargs)
do
    $cross_gcc $src -o $here/apps/$(basename $src | cut -d '.' -f1)_app
done
